package com.xm.settlement.service;



import com.baomidou.framework.service.ISuperService;
import com.xm.settlement.commons.base.ApiSQLException;
import com.xm.settlement.model.AppRecharge;
import com.xm.settlement.model.AppScoreLog;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/2/9.
 */
public interface AppScoreLogService extends ISuperService<AppScoreLog> {

    boolean insert(AppScoreLog appScoreLog);

    void insertScoreLogFail(Map map);

    void insertScoreLogSuccess(Map map);

    void insertBatchByList(List<AppRecharge> appRecharges);

    void insertScoreToScore(String vipCode, Integer beforeType, Integer afterType, double score)  throws ApiSQLException;
}
